﻿using HK.Core.Common.Data;

namespace HK.Core.IO.Protocol.Output
{
    /// <summary>
    /// 接口 : Json文件I/O协议
    /// </summary>
    /// <typeparam name="TJson">Json数据类型</typeparam>
    public interface IJsonFileIO<out TJson> : IFileIO<TJson>
        where TJson : JsonData
    {
        /// <summary>
        /// 清空
        /// </summary>
        /// <param name="iForce">强制标志位</param>
        /// <returns>true:OK; false:NG;</returns>
        bool Clear(bool iForce = false);
    }
}
